package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

/**
 * 邮件定时发送对象 mail_cron
 * 
 * @author mabo
 * @date 2022-01-30
 */
@Component
public class MailCron extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 邮件ID */
    private String mailId;

    /** 邮件标题 */
    @Excel(name = "")
    private String mailTitle;

    /** 邮件接收人 */
    @Excel(name = "")
    private String mailReceive;

    /** 邮件定时发送表达式 */
    @Excel(name = "")
    private String mailCron;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String mailTemplatePath;

    public void setMailId(String mailId) 
    {
        this.mailId = mailId;
    }

    public String getMailId() 
    {
        return mailId;
    }
    public void setMailTitle(String mailTitle) 
    {
        this.mailTitle = mailTitle;
    }

    public String getMailTitle() 
    {
        return mailTitle;
    }
    public void setMailReceive(String mailReceive) 
    {
        this.mailReceive = mailReceive;
    }

    public String getMailReceive() 
    {
        return mailReceive;
    }
    public void setMailCron(String mailCron) 
    {
        this.mailCron = mailCron;
    }

    public String getMailCron() 
    {
        return mailCron;
    }
    public void setMailTemplatePath(String mailTemplatePath) 
    {
        this.mailTemplatePath = mailTemplatePath;
    }

    public String getMailTemplatePath() 
    {
        return mailTemplatePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mailId", getMailId())
            .append("mailTitle", getMailTitle())
            .append("mailReceive", getMailReceive())
            .append("mailCron", getMailCron())
            .append("mailTemplatePath", getMailTemplatePath())
            .toString();
    }
}
